package br.org.etec.dotcao.model;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Table(name="teventpicture")
@Entity
public class EventPicture extends Picture{

	private static final long serialVersionUID = 1L;
	
	@ManyToOne
	@JoinColumn(name="event")
	private Event event;
	
	public Event getEvent() {
		return event;
	}
	
	public void setEvent(Event event) {
		this.event = event;
	}
}
